package xyz.ieden.freemarker.mapper;

import org.springframework.stereotype.Repository;
import xyz.ieden.freemarker.entity.User;

import java.util.List;

/**
 * Created by Gavin on 2017.09.09.
 */
@Repository
public interface UserMapper {

    void deleteUserById(Long userId);

    void updateUser(User user);

    User saveUser(User user);

    User findUserById(Long userId);

    List<User> findAllUser();

}
